<template>
  <!-- 产品tabs 默认有搜索框 -->
  <div class="atlas-tab-wrap flex-center-start">
    <!-- tabs -->
    <div class="atlas-tab">
      <span class="back" @click="gotoBack">返回上一级</span>
      <span class="tcName">这里是图册名称</span>
    </div>
    <!-- 搜索框 -->
    <div class="pro-search">
      <el-input
        placeholder="搜索"
        prefix-icon="el-icon-search"
        v-model="inputVal"
        size="mini"
        maxlength="100"
      >
      </el-input>
    </div>
    <!-- 标签检索 -->
    <div class="pro-search pro-select">
      <el-select v-model="selectVal" placeholder="请选择" size="mini">
        <el-option
          v-for="item in options"
          :key="item.value"
          :label="item.label"
          :value="item.value"
        >
        </el-option>
      </el-select>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      inputVal: '',
      selectVal: '0',
      options: [
        {
          label: '标签检索',
          value: '0',
        },
        {
          label: '情报目录',
          value: '1',
        },
      ],
      tabs: [
        {
          name: '全部',
          id: 'all',
        },
        {
          name: '图像',
          id: 'image',
        },
        {
          name: '视频',
          id: 'video',
        },
        {
          name: '资料',
          id: 'doc',
        },
      ],
    }
  },
  methods: {
    gotoBack() {
      this.$router.push('/atlas-management')
    },
  },
}
</script>

<style lang="scss">
.atlas-tab-wrap {
  height: 0.5rem;
  border-bottom: 1px solid #034475;
  font-size: 16px;
  .atlas-tab {
    width: 52%;
    color: #2acaff;
    padding-left: 20px;

    .back {
      font-size: 14px;
      cursor: pointer;
    }
    .tcName {
      margin-left: 15px;
      font-size: 18px;
    }
  }
  .pro-search {
    margin-left: 17%;
    .el-input--mini .el-input__inner {
      color: #cccccc;
      background-color: #034576;
      border: 0px;
    }
  }
  .pro-select {
    width: 1.5rem;
    margin-left: 2%;
  }
}
</style>
